home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
programr
/
wtj009.zip
/
CPP_DLL.ZIP
/
HELLOLIB.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1992-08-17
|
581b
|
35 lines
// hellolib.cpp RHS 7/15/92
#include<windows.h>
#include"hellolib.h"
#if defined(_MSC_VER)
extern "C" int FAR PASCAL LibMain(HINSTANCE,WORD,WORD,LPSTR)
{
return TRUE;
}
extern "C" int FAR PASCAL _WEP(int)
{
return TRUE;
}
#else
int FAR PASCAL LibMain(HINSTANCE,WORD,WORD,LPSTR)
{
return TRUE;
}
int FAR PASCAL WEP(int)
{
return TRUE;
}
#endif
LPSTR winmessage = "Hello, world!";
void FAR PASCAL _export HelloMessage(LPSTR wintitle)
{
MessageBox(NULL,winmessage,wintitle,MB_OK);
}